import Vue from 'vue'
import App from './App'
import store from './store'
import util from './common/util.js'
import api from './common/api.js'
import share from './utils/share.js'	// 全局的分享方法
import uView from '@/uni_modules/uview-ui'

Vue.config.productionTip = false

//引入全局自定义mixin，主要用于在template内代码使用方法
import mixinsHelper from "@/common/mixins/mixinsHelper.js"
Vue.mixin(mixinsHelper)

App.mpType = 'app'

Vue.prototype.$store = store
Vue.prototype.$api = api
Vue.prototype.$util = util
Vue.mixin(share)
Vue.use(uView)
const app = new Vue({
	store,
  ...App
})
app.$mount()
